﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Dukou.Domain;

namespace Dukou.Authentication.Domain
{
    [Serializable]
    public class LogonInfo : Entity<long>
    {
        public virtual string Token { get; set; }

        public virtual string UserName { get; set; }

        public virtual string Password { get; set; }

        public virtual string MAC { get; set; }

        public virtual string IP4 { get; set; }

        public virtual string IP6 { get; set; }

        public virtual DateTime LogonTime { get; set; }

        public virtual DateTime RefreshTime { get; set; }

        public virtual DateTime ExpireTime { get; set; }

        public virtual bool IsOnline { get; set; }

        public virtual User User { get; set; }
    }
}
